<template>
	<view>
		<map id="map" :latitude="store.currentPos.latitude" :longitude="store.currentPos.longitude" :scale="4" :show-location="true"
			 style="width: 100%;" :style="{ height: wh +'px'}">
		</map>
	</view>
</template>

<script setup>
	import {
		ref
	} from 'vue'
	import {
		onLoad
	} from '@dcloudio/uni-app'
	import { userStore } from '../../store/userStore'
	let store=userStore()


    let wh = uni.getSystemInfoSync().windowHeight 
   
</script>

<style>
body{
		background-color: gainsboro;
	}
</style>